package szcg.framework.library.mapper.task;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import szcg.framework.library.entity.TaskDetailBean;

import java.util.ArrayList;
import java.util.HashMap;

@Repository
@Mapper
public interface TaskMapper {

    void saveTask(HashMap<String, String> params);

    ArrayList<TaskDetailBean> queryTaskFroId(HashMap<String, String> params);

    ArrayList<TaskDetailBean> queryAllTask();

    void updateTaskStatus(HashMap<String, String> params);

    void updateTaskDetail(HashMap<String, String> params);

    void deleteTask(HashMap<String, String> params);
}
